dsh-openai-image: Connecting DSH to OpenAI Images 2.6 for image generation and Roblox asset uploads
The DSH community plugin maintained by yangshulin2333, with package name @yangshulin2333/dsh-openai-image, is version 0.4.6 and licensed under the MIT license, falling under the model inference category. The plugin directly calls the official API endpoints /v1/images/generations and /v1/images/edits, registering three tools: image_generate, image_edit, and roblox_upload. It includes seven built-in Roblox resource presets (game_icon, thumbnail, gamepass, badge, decal, ui_9slice, seamless_texture), allowing for one-click uploads to Roblox Open Cloud to generate rbxassetid:// after image generation. It emphasizes sending only official fields to avoid common HTTP 400 errors associated with seed/steps/negative_prompt/guidance_scale parameters found in OpenAI-compatible plugins, and guarantees that the output schema contains no null object fields. Installation is performed using `dsh plugin add github:yangshulin2333/dsh-openai-image`, and configuration can be done via a graphical interface card or by editing cordis.patch.yml. Roblox upload is disabled by default and requires dialogue confirmation for each upload. It supports png/jpeg/bmp/tga formats, images smaller than 8000x8000 px, and files not exceeding 20 MB, while assets cannot be updated. The article concludes with benchmarks for speed, cost pricing, a troubleshooting table, and an explanation of applicable scenarios.
Read More